<template>
  <div id="notfound">
    <transition name="el-fade-in-linear">
      <div class="box" v-show="show">404 Not Found</div>
    </transition>
  </div>
</template>

<script>
export default {
  data() {
    return {
      show:false,
    }
  },
  created() {
    setTimeout(() => {
      this.show = true
    }, 400);
  },
};
</script>

<style lang="less" scoped>
#notfound {
  user-select: none;
  width: 100%;
  height: 100%;
  position: relative;
  .box {
    width: 300px;
    height: 50px;
    font-size: 40px;
    font-weight: 400;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
</style>